Top 10k strings from Star Trek - The Computer Program (1982)(R&R Software).z80 in <root> / bin / z80 / software / Sinclair Spectrum Collection TOSEC.exe / Sinclair ZX Spectrum - Games / [Z80] /

Back to the directory listing

  48 ---:---:---:---:---:---:---:---
   9 tempt=tempt+2
   6 GALACTIC MAP
   5 s(x(n),y(n))=0
   5 g(gx,gy)=g(gx,gy)-100
   5 b(gx,gy)=0
   4 s(sx,sy)=1
   4 ;"Press any key to continue...",:
   4   1   2   3   4   5   6   7   8 
   3 tempt=tempt+1
   3 iy=(y2-y1)/
   3 ix=(x2-x1)/
   3 c=s(x1,y1):
   3 a$="Bearing (0-360)?":
   3 ;"Not enough energy",:
   3  1  2  3  4  5  6  7  8
   2 s(x1,y1)>1
   2 s(x1,y1)=0
   2 katt=katt+1
   2 g(x,y)=g(x,y)+100
   2 g(gx,gy)=g(gx,gy)-10
   2 b(gx,gy)=b(gx,gy)+en+sh:
   2 b$(bn)=" ":
   2 ;"You may not attack while docked",:
   2 ;"Starbase no longer operational",:
   2 ;"Romulan destroyed",:
   2 ;"Klingon destroyed",:
   2 ;"Hyper-drive out of order",:
   2 (kdx-edx):
   2 (edx-kdx):
   2 ((sx-x(n))*(sx-x(n))+(sy-y(n))*(sy-y(n)))):
   1 warp drive
   1 turned upon each one in turn.","The closer you are, the more","effect your phasers will have."
   1 turn computer on
   1 turn computer off
   1 tempt=tempt+3
   1 temp=bomb:
   1 status (damage report)
   1 ss=g(gx,gy)
   1 sh=b(gx,gy)-en:
   1 self-destruct sequence
   1 s=g(x1,y1):
   1 s(x(n),y(n))=5
   1 s(x(n),y(n))=2
   1 s(sx,sy)=0
   1 s(osx,osy)=0
   1 probe sector
   1 print title
   1 print scenario
   1 print reformatted time
   1 print orders
   1 print command options
   1 place starbase
   1 place star
   1 place klingon
   1 place enterprise
   1 place Romulan
   1 p(n)=p(n)-1
   1 n=n+k*(x(k)=x1)*(y(k)=y1):
   1 m;") ";d$(n);"
   1 lock photon torps
   1 iy=(kdy-edy)/
   1 iy=(edy-kdy)/
   1 ix=(kdx-edx)/
   1 ix=(edx-kdx)/
   1 initialise sector map
   1 hyper-drive
   1 g(x,y)=g(x,y)+400
   1 g(x,y)=g(x,y)+10
   1 g(x,y)<100
   1 g(gx,gy)=0
   1 g(bax,bay)=g(bax,bay)-10
   1 en=en+pe*(ks+(e(5
   1 e(n)=e(n)-he:
   1 e(n)=e(n)-he
   1 e(n)=e(n)-5
   1 d(n)=d(n)-(tempt-t1)
   1 d(d1)=d(d1)+
   1 coms=coms-1
   1 b(x,y)=4000
   1 b(gx,gy)=b(gx,gy)-he:
   1 b(gx,gy)=b(gx,gy)-3000
   1 b(gx,gy)<0
   1 b(bax,bay)=b(bax,bay)-
   1 b(bax,bay)=0
   1 b(bax,bay)
   1 b$="270.00":
   1 b$=" 90.00":
   1 b$="  0.00":
   1 b$(n)>"9")
   1 b$(bn)="0":
   1 a$="Warp factor (0-8)?":
   1 a$="Units (0-8)?":
   1 a$="Target date (100-200)":
   1 a$="Start coordinates: y=":
   1 a$="Start coordinates: x=":
   1 a$="Shield energy (0-"+
   1 a$="Phaser energy (0-"+
   1 a$="Klingon force (50-100)":
   1 a$="End coordinates: y=":
   1 a$="End coordinates: x=":
   1 a$="Bases (0-20)":
   1 TORPEDOES 8
   1 Smart-bomb
   1 STARDATE  013.7
   1 SMART-BOMB
   1 SHIELDS   357
   1 SELF-DESTRUCT
   1 SECTOR    3,7
   1 Print galactic map
   1 Photon torpedoesScanners
   1 PHOTON TORPEDOES
   1 Navigational aid
   1 NAVIGATION
   1 LONG RANGE SCAN
   1 LOCK PHOTON TORPEDOES
   1 KLINGONS  72
   1 INSTRUCTIONS
   1 HYPER-DRIVE
   1 ENERGY    1270
   1 Damage routine
   1 CONTROL ROOM
   1 CONDITION 
   1 COMPUTER  
   1 AUTHOR - Jonathan Nixon.
   1 ;kdx-edx,kdy-edy
   1 ;he;" units drained from shields",:
   1 ;he;" unit hit on shields",:
   1 ;he;" unit hit on klingon at ";x(n);",";y(n),:
   1 ;he;" unit hit on Romulan",:
   1 ;edx-kdx,edy-kdy:
   1 ;d$(n);" REPAIRED",:
   1 ;b$;"   ";e(5
   1 ;b$;"   ";b(gx,gy),
   1 ;"You have until stardate ";:
   1 ;"You had from stardate 000.0",
   1 ;"Well done, Romulan destroyed",:
   1 ;"Warp or Ion drive (W/I)?";
   1 ;"WARP DRIVE",,
   1 ;"Torpedoes locked...",
   1 ;"Torpedoes locked",:
   1 ;"Torpedoe energy absorbed",
   1 ;"Torpedo energy absorbed",
   1 ;"These are the voyages of the",,,"Starship ""Enterprise""...",,,"Its five year mission to explore",,"new worlds, to seek out new life",,"and new civiliations, TO BOLDLY",,,"GO WHERE NO MAN HAS GONE BEFORE!"
   1 ;"That wasn't very clever, was it!":
   1 ;"Target date approaching...",:
   1 ;"Stopped by star at ";x1;",";y1,:
   1 ;"Start coordinates (";x1;",";y1;")",
   1 ;"Starbase destroyed",:
   1 ;"Smart-bomb already used...",:
   1 ;"Self-destruct sequence aborted",:
   1 ;"Self-destruct code?";
   1 ;"STATUS",
   1 ;"SECTOR    ";gx;",";gy,"CONDITION ";
   1 ;"Romulan using phasers",:
   1 ;"Romaulan destroyed",:
   1 ;"Repeat (Y/N)?";
   1 ;"ROMULAN   ";
   1 ;"Press any key to continue...":
   1 ;"Press any key to continue...",
   1 ;"Phaser energy too low...",:
   1 ;"PROBE",:
   1 ;"No torpedoes aboard...",:
   1 ;"No klingons to shoot at",:
   1 ;"No klingons in this sector",:
   1 ;"No damage...",,:
   1 ;"Nice shooting, Klingon destroyed":
   1 ;"Missed...",,
   1 ;"Klingon moving to sector ";x;",";y,:
   1 ;"Klingon gunner court-marshalled",:
   1 ;"Klingon at ";x(n);",";y(n);" using phasers",:
   1 ;"Klingon at ";x(n);",";y(n);" firing torpedo",
   1 ;"KLINGON  BEARING  ENERGY  TORPS",
   1 ;"Instructions (Y/N)?";
   1 ;"ION DRIVE",,:
   1 ;"ION DRIVE",,
   1 ;"INTRODUCTION";
   1 ;"GREEN";:
   1 ;"Entering new sector...",
   1 ;"Empty sector...",,:
   1 ;"E to end, SPACE to continue..."
   1 ;"Damage to ";d$(d1),:
   1 ;"DOCKED";:
   1 ;"DELAY",,,
   1 ;"DAMAGE";
   1 ;"Command (1-8)?";
   1 ;"Collision with klingon at ";x1;",";y1,:
   1 ;"Collision with base at ";x1;",";y1,:
   1 ;"Collision with Romulan at ";x1;",";y1,:
   1 ;"Attack on starbase postponed",:
   1 ;"Acceptable scenario (Y/N)?";
   1 ;"200 unit hit on shields",:
   1 ;" One moment please captain, I'm  just creating the universe..."
   1 ;" KBS  KBS  KBS",
   1 ;"  End coordinates (";x2;",";y2;")",,,
   1 ;"  BASE    ";
   1 ;"   Starbase ";bax;",";bay;" under attack",:
   1 ;"   CONTROL ROOM   COMPUTER",,,
   1 8: Control room
   1 8: Computer
   1 7: Self-destruct4: Lock torps
   1 7: Galactic map
   1 6: Smart-bomb
   1 6: Instructions
   1 4: Photon Torps
   1 3: Phasers
   1 3: Navigation
   1 2: Shields
   1 1: Manoeuvre
   1 1: Hyper-drive
   1 1982. R & R SOFTWARE   
   1 ,,,"Our galaxy is being attacked by a fleet of Klingon warships, andas captain of the USS Enterpriseit is your mission to seek out","and destroy the invaders.",,,
   1 ,,,"1: Manoeuvre","5: Scan","2: Shields","6: Instructions","3: Phasers","7: Galactic map","4: Photon torps","8: Computer",
   1 ,,,"1: Hyper-drive","5: Probe","2: Status","6: Smart-bomb","3: Navigation","7: Self-destruct4: Lock torps","8: Control room",
   1 ,,"To destroy a Klingon you must","reduce his energy until it is","below 1 unit. Klingons start thegame with 400 units, but half oftheir energy is used each time","they use their own phasers.",,,
   1 ,,"The galaxy is divided into 64","sectors, and a short range scan of the current sector is always shown at the top of the screen.",,,
   1 ,,"Next you are given information  on the current situation...",,,
   1 ,,"If there are any Klingons in thesector they will immediately","attack, draining energy from","your shields.",,,,"When your shields go below 0,","energy is taken from your main","energy banks and the Enterprise will be damaged.",,,
   1 ,,"Docking with starbases will","replenish your energy banks and your stock of photon torpedoes, and repair any damage.",,,"Bases start with 4000 units of  energy, and will continue to","manufacture torpedoes until all of this is gone."
   1 ,"To destroy ";k1;" klingon";:
   1 ,"There were ";b2;" bases available",,,
   1 ,"There was one base available",,,
   1 ,"There is one base available"
   1 ,"There are ";b1;" bases available"
   1 ,"SHIELDS   ";sh,"KLINGONS  ";k1,
   1 +"GALACTIC MAP"+
   1 +"---:---:---:---:---:---:---:---"
   1 +"  1   2   3   4   5   6   7   8 "+
   1 *w*(i$="w"))
   1 *k3/k2-b2)
   1 *b(gx,gy)/3
   1 )="  1  2  3  4  5  6  7  8
   1 (y1-y(n))<
   1 (y-kdy)*ix:
   1 (y-edy)*ix:
   1 (x1-x(n))<
   1 (x-kdx)*iy:
   1 (x-edx)*iy:
   1 (u*(i$="i")+10
   1 (tempt+w*8
   1 (pe/(ks+(e(5
   1 (osy-y(n)))
   1 (osx-x(n)))
   1 (kdy-edy)>
   1 (kdy-edy):
   1 (kdx-edx)>
   1 (kdx-edx)=
   1 (edy-kdy)>
   1 (edy-kdy):
   1 (edx-kdx)>
   1 (edx-kdx)=
   1 (b$(n)<"0"
   1 ((x2-x1)/(y2-y1))/
   1 ((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1)):
   1 '"Your performance has been rated at ";score;"%"''
   1 '"Create your own (Y/N)?";
   1 '"And ";b1;" base";:
   1 "You had destroyed ";k3;" klingon";:
   1 "When you are given the prompt,  Command (1-8)? you may begin to defend yourself...",,,
   1 "Well done, Mission accomplished"
   1 "Until stardate ";:
   1 "To destroy ";k2;" klingon";:
   1 "TORPEDOES ";pt,"COMPUTER  ";
   1 "Self-destruct sequence complete"
   1 "Self-destruct code?";
   1 "STAR TREK"
   1 "Photon torpedoes","Scanners","Ion drive","Warp drive","Phaser banks"
   1 "Out of time..."
   1 "Out of energy..."
   1 "From time to time you will also be attacked by a Romulan. Their vessels possess cloaking deviceswhich make them invisible to","anything other than the probe.","Romulans start with 500 units ofenergy."
   1 "ENERGY    ";en,"STARDATE  ";:
   1 "By stardate ";:
   1 "Bearing ";b$;", distance ";d,
   1 "Another mission (Y/N)?";
   1 "And your command options...",,,
   1 "8: Computer
   1 "7: Galactic map  Self-destruct",
   1 "6: Instructions  Smart-bomb",
   1 "4: Photon Torps  Lock torps",
   1 "3: Phasers
   1 "2: Shields
   1 "1: Manoeuvre
   1 ",,,,"You may distribute your energy  between the main energy banks   and the shields.",,
   1 ",,,,"Will destroy everything in the","sector including the Enterprise,and end the game."
   1 ",,,,"Turns the shipboard computer on,giving you a new set of command options...",,,,
   1 ",,,,"This will destroy everything in a sector, even bases and stars."
   1 ",,,,"Switches off the computer and","returns you to the main set of","command options."
   1 ",,,,"Replaces the short range scan","with a map of the entire galaxy.Only sectors you have visited orscanned will be shown.",,,
   1 ",,,,"Reminds you of the galactic","situation and gives you the","option of reviewing these notes.",,
   1 ",,,,"Relocates the Enterprise at a","randomly determined position in the galaxy.",,,,
   1 ",,,,"Phaser energy is divided betweenthe klingons and the phasers are
   1 ",,,,"Informs you of any damage to theEnterprise and tells you how","long it will take to repair."
   1 ",,,,"Gives the bearing and distance","between any two points.",,,
   1 ",,,,"Gives details of the surrounding8 sectors. Each is shown as 3","digits which are the numbers of","Klingons, bases and stars.",,,
   1 ",,,,"Gives details of any Klingons,","bases and Romulans with you in","the sector."
   1 ",,,,"1 unit of Ion drive will take   you 1 position across a sector, and Warp factor 1 will take you an entire sector across the","galaxy.",,,,"Directions are always given as","a bearing from 0 to 360 degrees.",,,
   1 ",,,"The photon torpedoes require a","bearing from 0 to 360 degrees.","They destroy anything except","stars.",,,,
   1 ",,,"After this order has been given,photon torpedoes will not need","bearings, but will home in on","their targets.",,,,
   1 " stardays to repair",:
   1 " remained."
   1  the computer program":
   1  the computer program
   1  Warp drive
   1  Starbase"," *  Star"
   1  Starbase ";bax;",";bay;" destroyed",:
   1  Phaser banks    
   1  Navigation",
   1  Klingon","
   1  Ion drive
   1  Hyper-drive",
   1  Enterprise","
   1  Control room",
   1  ";b$;"   ";e(n),
   1    7    *